package com.bestom.t9mod.commons.constant;

import com.bestom.t9mod.commons.utils.DataTurn;

public enum KPACmdCode {

    KPA_CMD_WAKEUP(0xaa),
    KPA_CMD_SLEEP(0xab),
    KPA_CMD_PREPARE(0xa7),
    KPA_CMD_START(0xa0),
    KPA_CMD_STOP(0xa3),
    KPA_CMD_CHECK(0xac),
    KPA_CMD_VERSION(0xad);

    private final Integer value;
    private DataTurn DataTurn =new DataTurn();

    KPACmdCode(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public String getHexStr() {
        return DataTurn.IntToHex(value);
    }
}
